package com.weishenai.Entity;

import java.util.Date;

/**
 * @Auther: weishenai
 * @Date: 2021/10/05/22:56
 * @Description:
 */
public class Token {
    private String userName;
    private Date lastLogin;

    public Token() {
    }

    public Token(String userName, Date lastLogin) {
        this.userName = userName;
        this.lastLogin = lastLogin;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Date getLastLogin() {
        return lastLogin;
    }

    public void setLastLogin(Date lastLogin) {
        this.lastLogin = lastLogin;
    }

    @Override
    public String toString() {
        return "Token{" +
                "userName='" + userName + '\'' +
                ", lastLogin=" + lastLogin +
                '}';
    }
}
